package com.longbo.leaf.portal.mapper;

import com.longbo.leaf.portal.model.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author longbo
 * @since 2021-02-01
 */
@Repository
public interface PermissionMapper extends BaseMapper<Permission> {
  List<Permission> selectPermissionByRoleIdList(@Param("roleIds") List<Long> roleIds);
}
